Xbasic

a5w_ReadFromWorkQueue Function

Syntax

L lResult = a5w_ReadFromWorkQueue(P pValues ,P pResult )

Arguments

lResult

.t. or .f. depending on whether the command succeeded.

pValues

A dot variable that has in/out properties (explained below)

pResult

A dot variable that two properties, 'hasError' - .t./.f. and 'errorText' (if there is an error)

Description

pValues.ID is the GUID primary key of the record and must be set on input. Used in a Web application to read data to the Work Queue. pValues.id is the value of the entry to be read. pValues gets populated with values from all fields in the record.

pValues

pValues is a dot variable. These are the properties of pValues:

ID (Guid)
CreatedWhen (DateTime)
WorkType (C)
IsLocked (N)
SchedulatedStartTime (DateTime)
HandledBy (C)
IsCompleted (N)
CompletedDateTime (t)
Status (C)
WorkData (c)
ErrorMessage (c)
Message (c)

Limitations

Version 11 and later

See Also